home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / complib / dgbcon.z / dgbcon
Text File  |  1998-10-30  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDGGGGBBBBCCCCOOOONNNN((((3333FFFF))))                                                          DDDDGGGGBBBBCCCCOOOONNNN((((3333FFFF))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DGBCON - estimate the reciprocal of the condition number of a real
  10.      general band matrix A, in either the 1-norm or the infinity-norm,
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE DGBCON( NORM, N, KL, KU, AB, LDAB, IPIV, ANORM, RCOND, WORK,
  14.                         IWORK, INFO )
  15.  
  16.          CHARACTER      NORM
  17.  
  18.          INTEGER        INFO, KL, KU, LDAB, N
  19.  
  20.          DOUBLE         PRECISION ANORM, RCOND
  21.  
  22.          INTEGER        IPIV( * ), IWORK( * )
  23.  
  24.          DOUBLE         PRECISION AB( LDAB, * ), WORK( * )
  25.  
  26. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  27.      DGBCON estimates the reciprocal of the condition number of a real general
  28.      band matrix A, in either the 1-norm or the infinity-norm, using the LU
  29.      factorization computed by DGBTRF.
  30.  
  31.      An estimate is obtained for norm(inv(A)), and the reciprocal of the
  32.      condition number is computed as
  33.         RCOND = 1 / ( norm(A) * norm(inv(A)) ).
  34.  
  35.  
  36. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  37.      NORM    (input) CHARACTER*1
  38.              Specifies whether the 1-norm condition number or the infinity-
  39.              norm condition number is required:
  40.              = '1' or 'O':  1-norm;
  41.              = 'I':         Infinity-norm.
  42.  
  43.      N       (input) INTEGER
  44.              The order of the matrix A.  N >= 0.
  45.  
  46.      KL      (input) INTEGER
  47.              The number of subdiagonals within the band of A.  KL >= 0.
  48.  
  49.      KU      (input) INTEGER
  50.              The number of superdiagonals within the band of A.  KU >= 0.
  51.  
  52.      AB      (input) DOUBLE PRECISION array, dimension (LDAB,N)
  53.              Details of the LU factorization of the band matrix A, as computed
  54.              by DGBTRF.  U is stored as an upper triangular band matrix with
  55.              KL+KU superdiagonals in rows 1 to KL+KU+1, and the multipliers
  56.              used during the factorization are stored in rows KL+KU+2 to
  57.              2*KL+KU+1.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDGGGGBBBBCCCCOOOONNNN((((3333FFFF))))                                                          DDDDGGGGBBBBCCCCOOOONNNN((((3333FFFF))))
  71.  
  72.  
  73.  
  74.      LDAB    (input) INTEGER
  75.              The leading dimension of the array AB.  LDAB >= 2*KL+KU+1.
  76.  
  77.      IPIV    (input) INTEGER array, dimension (N)
  78.              The pivot indices; for 1 <= i <= N, row i of the matrix was
  79.              interchanged with row IPIV(i).
  80.  
  81.      ANORM   (input) DOUBLE PRECISION
  82.              If NORM = '1' or 'O', the 1-norm of the original matrix A.  If
  83.              NORM = 'I', the infinity-norm of the original matrix A.
  84.  
  85.      RCOND   (output) DOUBLE PRECISION
  86.              The reciprocal of the condition number of the matrix A, computed
  87.              as RCOND = 1/(norm(A) * norm(inv(A))).
  88.  
  89.      WORK    (workspace) DOUBLE PRECISION array, dimension (3*N)
  90.  
  91.      IWORK   (workspace) INTEGER array, dimension (N)
  92.  
  93.      INFO    (output) INTEGER
  94.              = 0:  successful exit
  95.              < 0: if INFO = -i, the i-th argument had an illegal value
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.